import request from '@/utils/request'

/**
 * 登录
 */
export function login(data) {
  return request.post('/login/login', data)
}

/**
 * 注销
 */
export function logout() {
  return request.post('/login/logout')
}

/**
 * 获取验证码
 */
export function getCaptcha() {
  return request.get('验证码接口')
}
